import { Color } from "tvision-color"
export const getColorArray = (hex: string) => {
    const { colors: newPalette, primary: brandColorIndex } = Color.getColorGradations({
      colors: [hex],
      step: 10,
      remainInput: false // 是否保留输入 不保留会矫正不合适的主题色
    })[0]
    return {
      newPalette,
      brandColorIndex
    }
  }  